package cn.gs.common.interfaces;

import java.rmi.Remote;
import java.rmi.RemoteException;

/*
 * @author gs
 */
public interface ITimerServer extends Remote {

    int getNow() throws RemoteException;

    void registerServer(String server, String addr) throws RemoteException;
    
    void removeServer(String server) throws RemoteException;
    
}
